package com.zzyl.nursing.mapper;

import java.util.List;
import com.zzyl.nursing.domain.NursingProject;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyl.nursing.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Select;

/**
 * 护理项目Mapper接口
 *
 * @author syl
 * @date 2025-05-23
 */
public interface NursingProjectMapper extends BaseMapper<NursingProject> {

    @Select("select name as label,id as value from  nursing_project where status=1")
    List<NursingProjectVo> getAll();
}
